package com.travel.travelServer.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.travel.travelServer.entity.Store;
import com.travel.travelServer.entity.vo.StoreVo;

import java.util.List;
import java.util.Map;

/**
 * (Store)表服务接口
 *
 * @author makejava
 * @since 2024-03-03 14:05:09
 */
public interface StoreService {

    Page<Store> page(Page<Store> page, Map<String, Object> conditions);

    Store getById(Long id);

    Boolean add(Store pojo);

    Boolean update(Store pojo);

    Boolean removeOne(Long id);

    Boolean batchRemove(List<Long> asList);

    Boolean batchAddCategory(StoreVo storeVo);

    Boolean batchAddFruit(StoreVo storeVo);

    Boolean deleteMyCategoryById(Long id);

    Boolean deleteMyFruitById(Long id);
}

